package com.hp.service.iml;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hp.dao.TopDao;
import com.hp.model.Tops;
import com.hp.service.TopService;
@Service
public class TopServiceiml implements TopService{
	
	@Autowired
	private TopDao tdao;

	@Override
	public Tops findTopByGoodID(Integer id) {
		return tdao.findTopByGoodID(id);
	}

}
